package org.example.myleet.p693;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(solution.hasAlternatingBits(1));
        Assert.isTrue(solution.hasAlternatingBits(5));
        Assert.isTrue(!solution.hasAlternatingBits(7));
        Assert.isTrue(!solution.hasAlternatingBits(11));
        Assert.isTrue(!solution.hasAlternatingBits(2147483647));
    }
}
